package com.wzy.springcloud.service;

import org.springframework.stereotype.Component;

@Component
public class PaymentHystrixServiceImpl implements PaymentHystrixService {
    @Override
    public String ok(Integer id) {
        return "ok方法的兜底方案";
    }

    @Override
    public String timeout(Integer id) {
        return "时间超时的兜底方案";
    }
}
